﻿
namespace EBAYVN.Util
{
    public class Constants
    {
        public const string REPORT_DATASOURCE = "REPORT_DATASOURCE";
        public const string PARAM_FILTERED = "filtered";
        public const string SETTINGS_CONNECTION = "eosconnection";

        public const byte HasSub = 1;
        public const byte NoSub = 0;
        public const byte Active = 1;
        public const byte Inactive = 0;
        public const byte NotClose = 0;
        public const byte IsClose = 1;
        public const byte Deleted = 1;
        public const byte NotDelete = 0;
        public const string Yes = "Yes";
        public const string No = "No";
        public const byte Male = 0;
        public const byte Female = 1;

        // Category
        public const int ParentId = 0;
        public const string ParentStr = "Root";
        public const string PrefixStr = "--";
        public const string PrefixArrowStr = " ";


        // Sort Direction
        public const string Desc = "DESC";
        public const string Asc = "ASC";

        // project constants:
        public const string ColorRowError = "#FF6A6A";
        public const string ColorClose = "#E6E6FA";
        public const string ColorPotential = "#9ccef1";
        public const string BtnInsert = "Insert";
        public const string BtnUpdate = "Update";
        public const string BtnAssign = "Assign";

        // Config Constant:
        public const string ConfigTypeNumber = "Number";
        public const string ConfigTypeString = "String";
        public const string ConfigTypeDatetime = "DateTime";

        // Date format in DB
        public const string DateformatDb = "yyyy-MM-dd";
        public const string DateformatView = "dd/MM/yyyy";
        public const string DateTimeformatView = "dd/MM/yyyy :hh:mmm";

        //Luu vet tac vu
        public const string AddNew = "AddNew";
        public const string Update = "Update";
        public const string DeleteObject = "DeleteObject";
        public const string CRM_DELIMITER = "";
        public const string CRM_NULL_STRING = "";

        public const string MaAdmin = "E3AFED0047B08059D0FADA10F400C1E5";

    }
    public class DELIMITER
    {
        /// <summary>
        /// Constant value: __crmdelimiter__
        /// </summary>
        public const string Delimiter = "__crmdelimiter__";

        /// <summary>
        /// Constant value: __crmnullstring__
        /// </summary>
        public const string NullString = "__crmnullstring__";

        /// <summary>
        /// Constant value: __crmpassed__
        /// </summary>
        public const string Passed = "__crmpassed__";

        /// <summary>
        /// Constant value: __crmfailed__
        /// </summary>
        public const string Failed = "__crmfailed__";
    }

    public enum Mode
    {
        Create = 0,
        Update = 1
    }

    public enum ReportMode
    {
        Normal = 0,
        Day = 1,
        Month = 2
    }

    public enum FilteredMode
    {
        None = 0,
        Filtered = 1
    }

    
    public enum TTLICHTRINH
    {
        LT_A=1,// LỊCH TRÌNH MỚI TẠO
        LT_B=2,// LỊCH TRÌNH ĐƯỢC DUYỆT
        LT_C=3,// LỊCH TRÌNH HOÀN THÀNH

        LT_TC=6,// LICHTRINH BỊ TỪ CHỐI

    }
    public enum TTDANGKY
    {
        DK_A=1,// DANG KI BAN DAU
        DK_B=2, // DANG KI WARNING
        DK_C=3,// DANG KI BI HET HAN
    }
    public enum TTHOPDONG
    {
        HD_A=1,// MỚI NHẬP
        HD_B=2,// DUYET HOP DONG
        HD_C=3,// XE ĐI VỀ RỒI
        HD_D=4,// THANH TOÁN (CHƯA XONG)
        HD_E=5,// THANH TOÁN XONG RỒI
        HC_F=6,// THANH LÝ HD
    }
    public enum NHOMTAB
    {
        TINHNANG=1,
        THONGSOKITHUAT=2,
        HINHANH=3,
        THONGTINKHAC=4

    }
}
